Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thermostat fix #1867

Merged
merged 5 commits into from
Oct 27, 2018
Merged

Thermostat fix #1867

merged 5 commits into from
Oct 27, 2018

Conversation

zsarnett
Copy link
Contributor

Failing at developing and Fixing my noob mistakes

@ghost ghost assigned zsarnett Oct 26, 2018
@ghost ghost added the in progress label Oct 26, 2018
@@ -73,11 +74,13 @@ export class HuiThermostatCard extends hassLocalizeLitMixin(LitElement)
[stateObj.attributes.operation_mode]: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fail if operation mode contains a space.

})}">
<div id="root">
<div id="thermostat"></div>
<div id="tooltip">
<div class="title">Upstairs</div>
<div class="title">${this.config.title}</div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we use config.title and not the entity name ?

@@ -30,6 +31,7 @@ const modeIcons = {

interface Config extends LovelaceConfig {
entity: string;
title: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to remove this again?

@balloob balloob changed the base branch from master to dev October 27, 2018 08:54
@balloob balloob added this to the 0.81.1 milestone Oct 27, 2018
@balloob balloob merged commit 6cab3bb into dev Oct 27, 2018
@ghost ghost removed the in progress label Oct 27, 2018
balloob pushed a commit that referenced this pull request Oct 27, 2018
* Thermostat fix

* Fix for unknown operation mode

* No title for you

* I suck at removing unnecessary things

* Fixing pointless Ternary operator
zsarnett added a commit that referenced this pull request Oct 29, 2018
* Thermostat fix

* Fix for unknown operation mode

* No title for you

* I suck at removing unnecessary things

* Fixing pointless Ternary operator
balloob pushed a commit that referenced this pull request Oct 29, 2018
* Thermostat fix (#1867)

* Thermostat fix

* Fix for unknown operation mode

* No title for you

* I suck at removing unnecessary things

* Fixing pointless Ternary operator

* Add version bump script

* Fix hass setting on stack (#1868)

* Fix hass setting on stack

* Don't set hass on pic elements if undefined

* Don't set hass on entity rows if undefined

* prefix config prop

* Pic elements set hass yoooo

* Remove interface

* Make stack config private

* Fix import

* Lint

* Bumped version to 20181026.1

* 🔨 move not text to header and name to secondary text

* 🔨 reduce some other margins
@pvizeli pvizeli deleted the thermostat-fix branch November 20, 2018 14:50
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants